package com.example.aigc_education.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChatConversationVO {
    /**
     * 会话ID
     */
    @TableId(value = "conv_id", type = IdType.AUTO)
    private Long convId;

    /**
     * 会话标题
     */
    @TableField(value = "conv_title")
    private String convTitle;

    /**
     * 会话描述
     */
    @TableField(value = "conv_desc")
    private String convDesc;


    /**
     * 会话类型（1伴学）
     */
    @TableField(value = "conv_type")
    private Integer convType;

    /**
     * 最后一次聊天时间
     */
    @TableField(value = "last_chat_time")
    private Date lastChatTime;

}
